home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / WAIS / doc / Makefile < prev    next >
Encoding:
Makefile  |  1992-02-03  |  681 b   |  36 lines

  1.  
  2. # Documentation of the WAIS system
  3. #   brewster 2/91
  4.  
  5. RM = rm -f
  6. AR = ar 
  7. ARFLAGS = r
  8.  
  9. default: textfromman indexem
  10.  
  11. text =    waisindex.txt  waisserver.txt    
  12.  
  13. waisindex.txt: manl/waisindex.l
  14.     nroff -man manl/waisindex.l | sed -e 's/_//g' > waisindex.txt
  15.  
  16. waisserver.txt: manl/waisserver.l    
  17.     nroff -man manl/waisserver.l | sed -e 's/_//g' > waisserver.txt
  18.  
  19. textfromman: $(text)
  20.  
  21.  
  22. indexem:    ../sources/wais-docs.dct
  23.  
  24. ../sources/wais-docs.dct: $(text)
  25.     ../bin/waisindex -d ../sources/wais-docs -t text *.txt *.rtf
  26.  
  27. clean:
  28.     $(RM) *~
  29.     $(RM) manl/*~
  30.     $(RM) \#*\#
  31.     $(RM) waisindex.txt waisserver.txt
  32.     $(RM) ../sources/wais-docs.*
  33.     $(RM) ../sources/*~
  34.     $(RM) ../sources/*#
  35.     $(RM) SearchLog
  36.